package com.example.iterable.collection.list;



/**
 * @author 沈传尚
 * @date 2022/1/8
 */
public class ArrayListTest {

    public  static  String[] PERSON_ROLE_IDS = {"人事", "人力", "总管理", "项目部高级"};

    public static void main(String[] args) {
        String roleName="总管理员";
        int i=0;
        for (String s : PERSON_ROLE_IDS){
            if (roleName.contains(s)){
                i++;
            }
        }

    }


}
